package com.all.play.mymvptwo.model;

import com.all.play.mymvptwo.bean.InfoBean;

import java.util.List;

/**
 * Created by 聪明一只哈 on 2018/5/16.
 * Time: 2018/5/16  11:01
 */

public interface IModel {

    void loadDatas(InfoOnLoadListener infoOnLoadListener);

    //设计内部接口,访问,回调接收数据
    interface InfoOnLoadListener{
        void onComplete(List<InfoBean.DataBean>  dataBeen);
        void inprogress(long total, float progress);
    }

}
